<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<html>
<head>
  <script type="text/javascript">
  /*新增*/
  function addfeedBack(url){
	  commonDetail(url,"save","feedBackTableId");
  }
 /* 修改*/
  function modifyfeedBack(url){
   commonDetail(url,"update","feedBackTableId");
  }

  var grid;
  $(document).ready(function() {
	  grid = $("#feedBackTableId").jpgrid({
			url: "feedBackListJson.do",
			columns: [
                
				{title: "APP名称", field: "APP_NAME",width:100},
				{title: "APP类型", field: "APP_TYPE",width:100},
				{title: "标题", field: "TITLE",width:180},
                {title: "反馈人", field: "LOGIN_NAME",width:200},
				{title: "所属机构", field: "INST_NAME",width:280}
			]
		});
  });
  
	function doSearch() {
		grid.load({
			app_name: $('#app_name').textbox("getValue"),
			app_type: $('#app_type').textbox("getValue"),
			ins_cd: $('#ins_cd').textbox("getValue"),
			ins_cn_nm: $('#ins_cn_nm').textbox("getValue")
		});
}
  </script>
</head>
<body class="easyui-layout list_body"  >
	<form id="feedBackForm" name="feedBackForm">
		<div class="list_body_north" data-options="region:'north'"  border="false" >
			<!-- 查询表单 -->
			<div  class="datagrid-toolbar" border="false"  >
				<span>APP名称:</span>
				<input id="app_name" type="text" name="app_name"  class="easyui-textbox"  >
				<span>APP类型:</span>
				<code:codeSelect id="app_type" name="app_type" showSelect="true" code_type="APP_TYPE" selectId="${infEntity.app_type}"></code:codeSelect>
				<span>机构号:</span>
				<input id="ins_cd" type="text" name="ins_cd"  class="easyui-textbox"  >
				<span>机构名称:</span>
				<input id="ins_cn_nm" type="text" name="ins_cn_nm"  class="easyui-textbox"  >
				<a href="#" class="easyui-linkbutton btn" iconCls="icon-search" onclick="doSearch() ">查询</a> 
				<a href="#" class="easyui-linkbutton btn" iconCls="icon-reload" onclick="resetForm() ">重置</a>					
			</div>
			<!-- 自定义标签工具栏 -->
			<jiepos:buttonOperateTag menuCode="${menuCode}"></jiepos:buttonOperateTag>	
		</div>
		<div data-options="region:'center'" border="false"  class="list_body_center">		
			<!-- 表格 -->
			<table id="feedBackTableId" fit="true"></table>
		</div>
	</form>
</body>
</html>
